From: Chad Horohoe Date: Wed, 12 Aug 2009 00:13:39 +0000 (+0000) Subject: PHP5 has been out for years now. X-Git-Tag: 1.31.0-rc.0~40346 X-Git-Url: http://git.cyclocoop.org/%7D%7Cconcat%7B?a=commitdiff_plain;h=49f7eb465ff1b482f66b04c006b0ab24dd38e90d;p=lhc%2Fweb%2Fwiklou.git PHP5 has been out for years now. --- diff --git a/install-utils.inc b/install-utils.inc index d8f73ceb04..234b12c9ec 100644 --- a/install-utils.inc +++ b/install-utils.inc @@ -56,9 +56,9 @@ function install_version_checks() { * Known fixed with PHP 5.2.9 + libxml2-2.7.3 */ class PhpXmlBugTester { - var $parsedData = ''; - var $ok = false; - function __construct() { + private $parsedData = ''; + public $ok = false; + public function __construct() { $charData = 'c'; $xml = '' . htmlspecialchars( $charData ) . ''; @@ -67,7 +67,7 @@ class PhpXmlBugTester { $parsedOk = xml_parse($parser, $xml, true); $this->ok = $parsedOk && ($this->parsedData == $charData); } - function chardata($parser, $data) { + public function chardata($parser, $data) { $this->parsedData .= $data; } }